package br.com.qualityempresa.core

class FooterTagLib {

	def thisYear = {
		out << new Date().format("yyyy")
	}

	def copyright = {attrs, body->
		out << "&copy; " + attrs.startYear + " - "
		out << thisYear() + " " + body()
		out << " <a target=\"_blank\" href=\"http://www.dolphin.com/\">Dolphin Systems</a> - "
		out << "<a target=\"_blank\" href=\"http://www.appdolphin.com.br/\">App Dolphin Systems</a>"		
	}
	
	def pageProperty = {		
		out << "<a><img style=\"height: 30px\" src=\"${resource(dir: 'images', file: 'dolphin.ico')}\" alt=\"Dolphin Systems\" /></a>"
	}
	
	def information = {
		out << "</br>"
		out << "* Os campos em vermelho sao obrigatorios!"
	}
}
